<div class="col-md-9">
  <div class="thumbnail">
    <!-- breadcrumb -->
    <ol class="breadcrumb breadcrumb-arrow">
      <li><a href="{:U(GROUP_NAME . '/Rbac')}">RBAC</a></li>
      <li class="active"><span>添加节点</span></li>
    </ol>

    <h3 class="text-center">添加{$type}</h3>
    <form class="form-horizontal" role="form" method="post" action="{:U(GROUP_NAME . '/Rbac/addNodeHandle')}">
      <!-- 节点名称 -->
      <div class="form-group">
        <label for="name" class="col-sm-2 control-label">{$type}名称</label>
        <div class="col-sm-6">
          <input type="text" class="form-control" name="name" placeholder="名称">
        </div>
      </div>
      <!-- 描述 -->
      <div class="form-group">
        <label for="title" class="col-sm-2 control-label">{$type}描述</label>
        <div class="col-sm-6">
          <input type="text" class="form-control" name="title" placeholder="描述">
        </div>
      </div>

      <!-- 是否开启 -->
      <div class="form-group">
        <label for="title" class="col-sm-2 control-label">开启状态</label>
        <div class="col-sm-6">
          <div class="radio">
            <label><input type="radio" name="status" value="1" checked>&nbsp;开启</label>
          </div>
          <div class="radio">
            <label><input type="radio" name="status" value="0">&nbsp;关闭</label>
          </div>
        </div>
      </div>

      <!-- 排序 -->
      <div class="form-group">
        <label for="title" class="col-sm-2 control-label">排序</label>
        <div class="col-sm-6">
          <input type="text" class="form-control" name="sort" value="1">
        </div>
      </div>
      <input type="hidden" name="pid" value="{$pid}">
      <input type="hidden" name="level" value="{$level}">
      <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
          <button type="submit" class="btn btn-default">保存添加</button>
        </div>
      </div>
    </form>
  </div>
</div>